package com.example.demospringboot;

import com.example.demospringboot.domains.Department;
import com.example.demospringboot.domains.Employee;
import org.apache.ibatis.type.MappedTypes;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@MappedTypes({Department.class, Employee.class})
@MapperScan("com.example.demospringboot.mapper")
@SpringBootApplication
public class DemoSwaggerSpringBootApplication {
    private static Logger logger = LoggerFactory.getLogger(DemoSwaggerSpringBootApplication.class);
    public static void main(String[] args) {
        logger.info("hello world");
        SpringApplication.run(DemoSwaggerSpringBootApplication.class, args);
    }

}
